package com.dy.lock.screen.service;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.MaterialCommentInfo;

public interface MaterialCommentService {

	/**
	 * 分页查询
	 * 
	 * @param para
	 * @param head
	 * @return
	 */
	public List<MaterialCommentInfo> queryPage(Map<String, Object> para);

	/**
	 * 查询总条数
	 * 
	 * @param para
	 * @return
	 */
	public Integer queryCount(Map<String, Object> para);

	/**
	 * 通过id查询
	 * 
	 * @param orderId
	 * @return
	 */
	public MaterialCommentInfo queryByPrimaryKey(String commentId);

	/**
	 * 保存文章评论信息
	 * 
	 * @param mcInfo
	 * @return
	 */
	public int save(MaterialCommentInfo mcInfo);

	/**
	 * 查询评论详情
	 * 
	 * @param para
	 * @return
	 */
	public MaterialCommentInfo queryCommentDetail(Map<String, Object> para);

	/**
	 * 假删除
	 * 
	 * @param maComentInfo
	 * @return
	 */
	public int falseDelete(MaterialCommentInfo maComentInfo);

}
